-- GENERATED SPELL FOR [Hive'Zara Sandstalker] --


function spell0_15323(pUnit, Event) --@Burrow,Self--
pUnit:FullCastSpellOnTarget(26381,pUnit)
pUnit:RegisterEvent('Sorts_15323', 11000, 1)
end

function Sorts_15323(pUnit, Event)
local choix_sorts_15323 = math.random(0, 0)
if choix_sorts_15323 == 0 then
pUnit:RegisterEvent('spell0_15323', 1, 1)
end
end

function mob15323_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15323', math.random(1500, 3000), 1)
end

function mob15323_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15323_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15323_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15323, 1, 'mob15323_Action')
RegisterUnitEvent(15323, 2, 'mob15323_Leave')
RegisterUnitEvent(15323, 3, 'mob15323_Kill')
RegisterUnitEvent(15323, 4, 'mob15323_Die')
